package ru.inse.web.controllers;

import java.util.Map;

import ru.xeden.web.controller.IControllerRegisterService;

public class ControllerRegister
{
    
    private Controller controller;
    
    public void setController(Controller controller)
    {
        this.controller = controller;
    }
    
    public void controllerRegisterServiceBind(IControllerRegisterService register, Map properties)
    {
        register.registerController(controller);
    }

    public void controllerRegisterServiceUnbind(IControllerRegisterService register, Map properties)
    {
        register.unregisterController(controller);
    }
}
